package il.ac.mta.javaweb.ex1.logic;

import java.awt.Point;

public class ShipSqaure
{
	private Point position;
	private boolean hit;

	public void setHit(boolean hit)
	{
		this.hit = hit;
	}

	public boolean isHit()
	{
		return hit;
	}

	public void setPosition(Point position)
	{
		this.position = position;
	}

	public Point getPosition()
	{
		return position;
	}
}
